package com.module.user.ui.completePersonalInfo

import androidx.lifecycle.LiveData
import com.common.app.data.repository.UserApi
import com.common.base.app.viewmodel.BaseViewModel
import com.common.base.data.CommonBean

/**
 * 作者：sosou
 * <p>
 * 版本：1.0
 * <p>
 * 创建日期：28/6/2025
 * <p>
 * 描述：完善个人信息VM
 * <p>
 * 修订历史：
 */
class CompletePersonalInfoViewModel : BaseViewModel() {
    //修改用户数据
    fun modifyUsrInfo(imageId: Long = 0, nickname: String?=null, birthday: String?=null, height: Int = 0, weight: Int = 0, sex: Int = 1,description: String?=null,): LiveData<CommonBean<Any>> = emit({}) {
        UserApi.modifyUsrInfo(imageId,nickname,birthday,height,weight,sex,description)
    }

}